﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>合同基本信息列表</title>
    <link href="../../themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/icon.css" rel="stylesheet" type="text/css" />

    <script src="../../JScript/jquery-1.6.min.js" type="text/javascript"></script>

    <script src="../../JScript/jquery.easyui.min.js" type="text/javascript"></script>

    <script src="../../JScript/easyui-lang-zh_CN.js" type="text/javascript"></script>

    <script src="../../JScript/AutoResize.js" type="text/javascript"></script>

    <script src="JScript/ContractsInfo.js" type="text/javascript"></script>

    <script src="../../JScript/JSUtility.js" type="text/javascript"></script>

    <style type="text/css">
        body
        {
            margin: 1px;
        }
        #Add tr
        {
            height: 25px;
        }
        #Add td
        {
            width: 120px;
            padding-left: 10px;
        }
        #Add input
        {
            height: 16px;
            width: 130px;
        }
        #Add table
        {
            margin-top: 10px;
        }
        #Add .td2
        {
            padding-left: 20px;
        }
        #Add fieldset
        {
            width: auto;
            margin: 5px;
        }
    </style>
</head>
<body>
    <table id="Grid">
    </table>
    <div id="Add" style="display: none;">
        <form>
        <fieldset>
            <legend>合同编号</legend>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        外部合同编号：
                    </td>
                    <td>
                        <input id="OuterNum" name="OuterNum" type="text" class="easyui-validatebox" required="true" />
                    </td>
                    <td class="td2">
                        内部合同编号：
                    </td>
                    <td>
                        <input id="InnerNum" name="InnerNum" type="text" required="true" class="easyui-validatebox" />
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>基本信息</legend>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        合同名称：
                    </td>
                    <td>
                        <input id="ContractName" name="ContractName" type="text" class="easyui-validatebox"
                            required="true" />
                    </td>
                    <td class="td2">
                        项目编号：
                    </td>
                    <td>
                        <input id="ProjectId" name="ProjectId" type="text" class="easyui-validatebox" required="true"
                            validtype="projectNumAjax[1]" />
                    </td>
                </tr>
                <tr>
                    <td>
                        合同类型：
                    </td>
                    <td>
                        <select id="ContractType" name="ContractType" class="easyui-combobox" style="width: 135px;"
                            editable="false">
                            <option value="甲方合同">甲方合同</option>
                            <option value="乙方合同">乙方合同</option>
                        </select>
                    </td>
                    <td class="td2">
                        合同状态：
                    </td>
                    <td>
                        <select id="ContractState" name="ContractState" style="width: 135px;" editable="false">
                        </select>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>合同期限</legend>
            <table cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        开始日期：
                    </td>
                    <td>
                        <input id="StartTime" name="StartTime" type="text" class="easyui-datebox" required="true"
                            style="width: 135px;" />
                    </td>
                    <td class="td2">
                        终止日期：
                    </td>
                    <td>
                        <input id="FinishedTime" name="FinishedTime" type="text" class="easyui-datebox" style="width: 135px;" />
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>合同金额</legend>
            <table cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        合同总额：
                    </td>
                    <td>
                        <input id="ContractAmount" name="ContractAmount" type="text" class="easyui-numberbox"
                            min="0.0" precision="2" />
                    </td>
                    <td class="td2">
                        合同有效金额：
                    </td>
                    <td>
                        <input id="ContractEffectiveAmount" name="ContractEffectiveAmount" type="text" class="easyui-numberbox"
                            min="0.0" precision="2" />
                    </td>
                </tr>
                <tr>
                    <td>
                        支付方式：
                    </td>
                    <td colspan="3">
                        <textarea id="PayWay" name="PayWay" type="text" class="easyui-validatebox" style="width: 420px;
                            height: 50px;"></textarea>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div style="margin-top: 10px;">
            <a href="javascript:void(0)" id="A1" style="margin-left: 35%;" onclick="JSUtility.save();"
                class="easyui-linkbutton" iconcls="icon-ok">确定</a> <a href="javascript:void(0)" style="margin-left: 5%;"
                    onclick="$('#Add').window('close');" id="A2" class="easyui-linkbutton" iconcls="icon-cancel">
                    取消</a>
        </div>
        <div id="helpInfo">
            <fieldset>
                <legend>操作说明:</legend>
                <div id="helpContent">
                    当前页面填写信息的说明...写信息的说明....当前页面填写信息的说明....</div>
            </fieldset>
        </div>
        </form>
    </div>
</body>
</html>
